package com.bootlever.framework.rmi.bean;

import com.google.common.collect.Maps;

import java.util.List;
import java.util.Map;

public class RmiServer {

    private String appName;//appName微服务名称
    private Map<String, List<RmiInfo>> rmiInterface = null;//接口为键，服务实现类集合为值

    public RmiServer() {
        this.rmiInterface = Maps.newConcurrentMap();
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public Map<String, List<RmiInfo>> getRmiInterface() {
        return rmiInterface;
    }

    public void setRmiInterface(Map<String, List<RmiInfo>> rmiInterface) {
        this.rmiInterface = rmiInterface;
    }
}
